# -*-coding:utf-8-*-
# Created by ccp on 2018/4/27.

class BaseA(object):
    def move(self):
        print("remove BaseA")


class BaseB(object):
    def move(self):
        print("remove BaseB")


class BaseC(BaseA):
    def move(self):
        print("remove BaseC")


# 多重继承
class Sub(BaseC, BaseB):
    pass


inst = Sub()
# 如果方法名在多个父函数中存在，如本例，调用顺序为从近到远：
# Sub，BaseC，BaseA，BaseB
inst.move()
